Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDocumentView<TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings> Class / CloneDocument Method


In This Topic
    CloneDocument Method
    In This Topic
    Clones the given document. This method is called when the document is going to be saved on another thread.
    Syntax
    'Declaration
     
    
    Protected Overridable Function CloneDocument( _
       ByVal document As TDoc _
    ) As TDoc
    'Usage
     
    
    Dim instance As NDocumentView(Of TDoc,TDocContent,TDocFormat,TDocFormatRegistry,TDocLoadSettings,TDocSaveSettings)
    Dim document As TDoc
    Dim value As TDoc
     
    value = instance.CloneDocument(document)
    protected virtual TDoc CloneDocument( 
       TDoc document
    )

    Parameters

    document
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also